
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>14.综合应用 —— 名片管理系统 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="15.变量进阶（理解）.html" />
    
    
    <link rel="prev" href="13.高级变量类型.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        <li class="header">笔记</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../阶段一笔记/1.操作系统——特殊的软件.html">
            
                <a href="../阶段一笔记/1.操作系统——特殊的软件.html">
            
                    
                    1.操作系统——特殊的软件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../阶段一笔记/2.命令.html">
            
                <a href="../阶段一笔记/2.命令.html">
            
                    
                    2.命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../阶段一笔记/3.SSH客户端的简单使用.html">
            
                <a href="../阶段一笔记/3.SSH客户端的简单使用.html">
            
                    
                    3.SSH客户端的简单使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../阶段一笔记/4.用户权限相关命令.html">
            
                <a href="../阶段一笔记/4.用户权限相关命令.html">
            
                    
                    4.用户权限相关命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../阶段一笔记/5.系统信息相关命令.html">
            
                <a href="../阶段一笔记/5.系统信息相关命令.html">
            
                    
                    5.系统信息相关命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../阶段一笔记/6.vi命令.html">
            
                <a href="../阶段一笔记/6.vi命令.html">
            
                    
                    6.vi命令
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">软件安装及其使用</li>
        
        
    

    
        
        <li class="header">pycharm</li>
        
        
    
        <li class="chapter " data-level="3.1" data-path="../阶段二笔记/pycharm安装及配置.html">
            
                <a href="../阶段二笔记/pycharm安装及配置.html">
            
                    
                    pycharm安装及配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="../阶段二笔记/pycharm使用.html">
            
                <a href="../阶段二笔记/pycharm使用.html">
            
                    
                    pycharm使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="../阶段二笔记/pycharm激活问题.html">
            
                <a href="../阶段二笔记/pycharm激活问题.html">
            
                    
                    pycharm激活问题
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">电子书搭建</li>
        
        
    
        <li class="chapter " data-level="4.1" data-path="../阶段二笔记/gitbook安装.html">
            
                <a href="../阶段二笔记/gitbook安装.html">
            
                    
                    gitbook安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2" >
            
                <span>
            
                    
                    git
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.2.1" data-path="../阶段二笔记/git简要.html">
            
                <a href="../阶段二笔记/git简要.html">
            
                    
                    git简要
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2.2" data-path="../阶段二笔记/git安装及使用.html">
            
                <a href="../阶段二笔记/git安装及使用.html">
            
                    
                    git安装及使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2.3" data-path="../阶段二笔记/git分支管理.html">
            
                <a href="../阶段二笔记/git分支管理.html">
            
                    
                    git分支管理
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4.3" data-path="../阶段二笔记/github使用.html">
            
                <a href="../阶段二笔记/github使用.html">
            
                    
                    github使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.4" data-path="../搭建/gitee远程仓库搭建.html">
            
                <a href="../搭建/gitee远程仓库搭建.html">
            
                    
                    gitee远程仓库搭建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.5" data-path="../搭建/客户端与服务端的搭建.html">
            
                <a href="../搭建/客户端与服务端的搭建.html">
            
                    
                    客户端与服务端的搭建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.6" >
            
                <span>
            
                    
                    问题
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.6.1" data-path="../搭建/gitbook build没有summary.html">
            
                <a href="../搭建/gitbook build没有summary.html">
            
                    
                    gitbook build没有summary
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.6.2" data-path="../问题/typora结合picgo实现上传图片到gitee.html">
            
                <a href="../问题/typora结合picgo实现上传图片到gitee.html">
            
                    
                    typora结合picgo实现上传图片到gitee
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">软件工具</li>
        
        
    
        <li class="chapter " data-level="5.1" data-path="../阶段二笔记/anaconda下载与使用.html">
            
                <a href="../阶段二笔记/anaconda下载与使用.html">
            
                    
                    anaconda下载与配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2" data-path="../阶段二笔记/anaconda的使用.html">
            
                <a href="../阶段二笔记/anaconda的使用.html">
            
                    
                    anaconda的使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.3" data-path="../阶段二笔记/python3.6.4下载与安装.html">
            
                <a href="../阶段二笔记/python3.6.4下载与安装.html">
            
                    
                    python3.6.4下载与安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.4" data-path="../阶段二笔记/typora安装及配置.html">
            
                <a href="../阶段二笔记/typora安装及配置.html">
            
                    
                    typora安装及配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.5" data-path="../阶段二笔记/ubuntu  tool安装.html">
            
                <a href="../阶段二笔记/ubuntu  tool安装.html">
            
                    
                    ubuntu  tool安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.6" data-path="../阶段二笔记/Jetbrains系列产品重置试用方法.html">
            
                <a href="../阶段二笔记/Jetbrains系列产品重置试用方法.html">
            
                    
                    Jetbrains系列产品重置试用方法
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">python学习</li>
        
        
    

    
        
        <li class="header">面对过程</li>
        
        
    
        <li class="chapter " data-level="7.1" data-path="0.python学习.html">
            
                <a href="0.python学习.html">
            
                    
                    0.python学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2" data-path="1.python简介.html">
            
                <a href="1.python简介.html">
            
                    
                    1.python简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.3" data-path="2.python程序no.1.html">
            
                <a href="2.python程序no.1.html">
            
                    
                    2.python程序
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.4" data-path="3.多文件项目的演练.html">
            
                <a href="3.多文件项目的演练.html">
            
                    
                    3.多文件项目的演练
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.5" data-path="4.程序注释.html">
            
                <a href="4.程序注释.html">
            
                    
                    4.程序注释
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.6" data-path="5.算数运算符.html">
            
                <a href="5.算数运算符.html">
            
                    
                    5.算数运算符
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.7" data-path="6.程序执行原理（科普）.html">
            
                <a href="6.程序执行原理（科普）.html">
            
                    
                    6.程序执行原理（科普）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.8" data-path="7.变量的基本使用.html">
            
                <a href="7.变量的基本使用.html">
            
                    
                    7.变量的基本使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.9" data-path="8.变量的命名.html">
            
                <a href="8.变量的命名.html">
            
                    
                    8.变量的命名
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.10" data-path="9.判断（if）语句.html">
            
                <a href="9.判断（if）语句.html">
            
                    
                    9.判断（if）语句
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.11" data-path="10.运算符.html">
            
                <a href="10.运算符.html">
            
                    
                    10.运算符.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.12" data-path="11.循环.html">
            
                <a href="11.循环.html">
            
                    
                    11.循环.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.13" data-path="12.函数基础.html">
            
                <a href="12.函数基础.html">
            
                    
                    12.函数基础
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.14" data-path="13.高级变量类型.html">
            
                <a href="13.高级变量类型.html">
            
                    
                    13.函数基础
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="7.15" data-path="14.综合应用 —— 名片管理系统.html">
            
                <a href="14.综合应用 —— 名片管理系统.html">
            
                    
                    14.综合应用 —— 名片管理系统
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.16" data-path="15.变量进阶（理解）.html">
            
                <a href="15.变量进阶（理解）.html">
            
                    
                    15.变量进阶（理解）
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.17" data-path="16.函数进阶.html">
            
                <a href="16.函数进阶.html">
            
                    
                    16.函数进阶
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">面对对象</li>
        
        
    
        <li class="chapter " data-level="8.1" data-path="../课余/编程exe.html">
            
                <a href="../课余/编程exe.html">
            
                    
                    编程exe
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">问题</li>
        
        
    
        <li class="chapter " data-level="9.1" data-path="../问题/安装软件.html">
            
                <a href="../问题/安装软件.html">
            
                    
                    安装软件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="9.2" data-path="../问题/激活码网站.html">
            
                <a href="../问题/激活码网站.html">
            
                    
                    激活码网站
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="9.3" data-path="../问题/虚拟机.html">
            
                <a href="../问题/虚拟机.html">
            
                    
                    虚拟机
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="9.4" data-path="../问题/疑难杂症.html">
            
                <a href="../问题/疑难杂症.html">
            
                    
                    疑难杂症
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >14.综合应用 —— 名片管理系统</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x7EFC;&#x5408;&#x5E94;&#x7528;-&#x2014;&#x2014;-&#x540D;&#x7247;&#x7BA1;&#x7406;&#x7CFB;&#x7EDF;">&#x7EFC;&#x5408;&#x5E94;&#x7528; &#x2014;&#x2014; &#x540D;&#x7247;&#x7BA1;&#x7406;&#x7CFB;&#x7EDF;</h1>
<h2 id="&#x76EE;&#x6807;">&#x76EE;&#x6807;</h2>
<p>&#x7EFC;&#x5408;&#x5E94;&#x7528;&#x5DF2;&#x7ECF;&#x5B66;&#x4E60;&#x8FC7;&#x7684;&#x77E5;&#x8BC6;&#x70B9;&#xFF1A;</p>
<ul>
<li><strong>&#x53D8;&#x91CF;</strong></li>
<li><strong>&#x6D41;&#x7A0B;&#x63A7;&#x5236;</strong></li>
<li><strong>&#x51FD;&#x6570;</strong></li>
<li><strong>&#x6A21;&#x5757;</strong></li>
</ul>
<p>&#x5F00;&#x53D1; <strong>&#x540D;&#x7247;&#x7BA1;&#x7406;&#x7CFB;&#x7EDF;</strong></p>
<h2 id="&#x7CFB;&#x7EDF;&#x9700;&#x6C42;">&#x7CFB;&#x7EDF;&#x9700;&#x6C42;</h2>
<ul>
<li><ol>
<li>&#x7A0B;&#x5E8F;&#x542F;&#x52A8;&#xFF0C;&#x663E;&#x793A;&#x540D;&#x7247;&#x7BA1;&#x7406;&#x7CFB;&#x7EDF;&#x6B22;&#x8FCE;&#x754C;&#x9762;&#xFF0C;&#x5E76;&#x663E;&#x793A;&#x529F;&#x80FD;&#x83DC;&#x5355;</li>
</ol>
</li>
</ul>
<pre><code>**************************************************
&#x6B22;&#x8FCE;&#x4F7F;&#x7528;&#x3010;&#x540D;&#x7247;&#x7BA1;&#x7406;&#x7CFB;&#x7EDF;&#x3011;V1.0

1. &#x65B0;&#x5EFA;&#x540D;&#x7247;
2. &#x663E;&#x793A;&#x5168;&#x90E8;
3. &#x67E5;&#x8BE2;&#x540D;&#x7247;

0. &#x9000;&#x51FA;&#x7CFB;&#x7EDF;
**************************************************
</code></pre><ul>
<li><ol>
<li>&#x7528;&#x6237;&#x7528;&#x6570;&#x5B57;&#x9009;&#x62E9;&#x4E0D;&#x540C;&#x7684;&#x529F;&#x80FD;</li>
</ol>
</li>
<li><ol>
<li>&#x6839;&#x636E;&#x529F;&#x80FD;&#x9009;&#x62E9;&#xFF0C;&#x6267;&#x884C;&#x4E0D;&#x540C;&#x7684;&#x529F;&#x80FD;</li>
</ol>
</li>
<li><ol>
<li>&#x7528;&#x6237;&#x540D;&#x7247;&#x9700;&#x8981;&#x8BB0;&#x5F55;&#x7528;&#x6237;&#x7684; <strong>&#x59D3;&#x540D;</strong>&#x3001;<strong>&#x7535;&#x8BDD;</strong>&#x3001;<strong>QQ</strong>&#x3001;<strong>&#x90AE;&#x4EF6;</strong></li>
</ol>
</li>
<li><ol>
<li>&#x5982;&#x679C;&#x67E5;&#x8BE2;&#x5230;&#x6307;&#x5B9A;&#x7684;&#x540D;&#x7247;&#xFF0C;&#x7528;&#x6237;&#x53EF;&#x4EE5;&#x9009;&#x62E9; <strong>&#x4FEE;&#x6539;</strong> &#x6216;&#x8005; <strong>&#x5220;&#x9664;</strong> &#x540D;&#x7247;</li>
</ol>
</li>
</ul>
<h2 id="&#x6B65;&#x9AA4;">&#x6B65;&#x9AA4;</h2>
<ol>
<li>&#x6846;&#x67B6;&#x642D;&#x5EFA;</li>
<li>&#x65B0;&#x589E;&#x540D;&#x7247;</li>
<li>&#x663E;&#x793A;&#x6240;&#x6709;&#x540D;&#x7247;</li>
<li>&#x67E5;&#x8BE2;&#x540D;&#x7247;</li>
<li>&#x67E5;&#x8BE2;&#x6210;&#x529F;&#x540E;&#x4FEE;&#x6539;&#x3001;&#x5220;&#x9664;&#x540D;&#x7247;</li>
<li>&#x8BA9; Python &#x7A0B;&#x5E8F;&#x80FD;&#x591F;&#x76F4;&#x63A5;&#x8FD0;&#x884C;</li>
</ol>
<h2 id="01-&#x6846;&#x67B6;&#x642D;&#x5EFA;">01. &#x6846;&#x67B6;&#x642D;&#x5EFA;</h2>
<p><strong>&#x76EE;&#x6807;</strong></p>
<ul>
<li>&#x642D;&#x5EFA;&#x540D;&#x7247;&#x7BA1;&#x7406;&#x7CFB;&#x7EDF; <strong>&#x6846;&#x67B6;&#x7ED3;&#x6784;</strong><ol>
<li><strong>&#x51C6;&#x5907;&#x6587;&#x4EF6;</strong>&#xFF0C;&#x786E;&#x5B9A;&#x6587;&#x4EF6;&#x540D;&#xFF0C;&#x4FDD;&#x8BC1;&#x80FD;&#x591F; <strong>&#x5728;&#x9700;&#x8981;&#x7684;&#x4F4D;&#x7F6E;</strong> &#x7F16;&#x5199;&#x4EE3;&#x7801;</li>
<li>&#x7F16;&#x5199; <strong>&#x4E3B;&#x8FD0;&#x884C;&#x5FAA;&#x73AF;</strong>&#xFF0C;&#x5B9E;&#x73B0;&#x57FA;&#x672C;&#x7684; <strong>&#x7528;&#x6237;&#x8F93;&#x5165;&#x548C;&#x5224;&#x65AD;</strong></li>
</ol>
</li>
</ul>
<h3 id="11-&#x6587;&#x4EF6;&#x51C6;&#x5907;">1.1 &#x6587;&#x4EF6;&#x51C6;&#x5907;</h3>
<ol>
<li>&#x65B0;&#x5EFA; <code>cards_main.py</code> &#x4FDD;&#x5B58; <strong>&#x4E3B;&#x7A0B;&#x5E8F;&#x529F;&#x80FD;&#x4EE3;&#x7801;</strong><ul>
<li>&#x7A0B;&#x5E8F;&#x7684;&#x5165;&#x53E3;</li>
<li>&#x6BCF;&#x4E00;&#x6B21;&#x542F;&#x52A8;&#x540D;&#x7247;&#x7BA1;&#x7406;&#x7CFB;&#x7EDF;&#x90FD;&#x901A;&#x8FC7; <code>main</code> &#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x542F;&#x52A8; </li>
</ul>
</li>
<li>&#x65B0;&#x5EFA; <code>cards_tools.py</code> &#x4FDD;&#x5B58; <strong>&#x6240;&#x6709;&#x540D;&#x7247;&#x529F;&#x80FD;&#x51FD;&#x6570;</strong><ul>
<li>&#x5C06;&#x5BF9;&#x540D;&#x7247;&#x7684; <strong>&#x65B0;&#x589E;</strong>&#x3001;<strong>&#x67E5;&#x8BE2;</strong>&#x3001;<strong>&#x4FEE;&#x6539;</strong>&#x3001;<strong>&#x5220;&#x9664;</strong> &#x7B49;&#x529F;&#x80FD;&#x5C01;&#x88C5;&#x5728;&#x4E0D;&#x540C;&#x7684;&#x51FD;&#x6570;&#x4E2D;</li>
</ul>
</li>
</ol>
<h3 id="12-&#x7F16;&#x5199;&#x4E3B;&#x8FD0;&#x884C;&#x5FAA;&#x73AF;">1.2 &#x7F16;&#x5199;&#x4E3B;&#x8FD0;&#x884C;&#x5FAA;&#x73AF;</h3>
<ul>
<li>&#x5728; <code>cards_main</code> &#x4E2D;&#x6DFB;&#x52A0;&#x4E00;&#x4E2A; <strong>&#x65E0;&#x9650;&#x5FAA;&#x73AF;</strong></li>
</ul>
<pre><code class="lang-python">
<span class="hljs-keyword">while</span> <span class="hljs-keyword">True</span>:

    <span class="hljs-comment"># TODO(&#x5C0F;&#x660E;) &#x663E;&#x793A;&#x7CFB;&#x7EDF;&#x83DC;&#x5355;</span>

    action = input(<span class="hljs-string">&quot;&#x8BF7;&#x9009;&#x62E9;&#x64CD;&#x4F5C;&#x529F;&#x80FD;&#xFF1A;&quot;</span>)

    print(<span class="hljs-string">&quot;&#x60A8;&#x9009;&#x62E9;&#x7684;&#x64CD;&#x4F5C;&#x662F;&#xFF1A;%s&quot;</span> % action)

    <span class="hljs-comment"># &#x6839;&#x636E;&#x7528;&#x6237;&#x8F93;&#x5165;&#x51B3;&#x5B9A;&#x540E;&#x7EED;&#x7684;&#x64CD;&#x4F5C;</span>
    <span class="hljs-keyword">if</span> action <span class="hljs-keyword">in</span> [<span class="hljs-string">&quot;1&quot;</span>, <span class="hljs-string">&quot;2&quot;</span>, <span class="hljs-string">&quot;3&quot;</span>]:
        <span class="hljs-keyword">pass</span>
    <span class="hljs-keyword">elif</span> action == <span class="hljs-string">&quot;0&quot;</span>:
        print(<span class="hljs-string">&quot;&#x6B22;&#x8FCE;&#x518D;&#x6B21;&#x4F7F;&#x7528;&#x3010;&#x540D;&#x7247;&#x7BA1;&#x7406;&#x7CFB;&#x7EDF;&#x3011;&quot;</span>)

        <span class="hljs-keyword">break</span>
    <span class="hljs-keyword">else</span>:
        print(<span class="hljs-string">&quot;&#x8F93;&#x5165;&#x9519;&#x8BEF;&#xFF0C;&#x8BF7;&#x91CD;&#x65B0;&#x8F93;&#x5165;&quot;</span>)
</code></pre>
<h4 id="&#x5B57;&#x7B26;&#x4E32;&#x5224;&#x65AD;">&#x5B57;&#x7B26;&#x4E32;&#x5224;&#x65AD;</h4>
<pre><code class="lang-python"><span class="hljs-keyword">if</span> action <span class="hljs-keyword">in</span> [<span class="hljs-string">&quot;1&quot;</span>, <span class="hljs-string">&quot;2&quot;</span>, <span class="hljs-string">&quot;3&quot;</span>]:     <span class="hljs-comment"># &#x6210;&#x5458;&#x8FD0;&#x7B97;&#x7B26;</span>
</code></pre>
<pre><code class="lang-python"><span class="hljs-keyword">if</span> action == <span class="hljs-string">&quot;1&quot;</span> <span class="hljs-keyword">or</span> action == <span class="hljs-string">&quot;2&quot;</span> <span class="hljs-keyword">or</span> action == <span class="hljs-string">&quot;3&quot;</span>:
</code></pre>
<ol>
<li><p>&#x4F7F;&#x7528; <code>in</code> &#x9488;&#x5BF9; <strong>&#x5217;&#x8868;</strong> &#x5224;&#x65AD;&#xFF0C;&#x907F;&#x514D;&#x4F7F;&#x7528; <code>or</code> &#x62FC;&#x63A5;&#x590D;&#x6742;&#x7684;&#x903B;&#x8F91;&#x6761;&#x4EF6;</p>
<p><img src="https://s2.loli.net/2022/01/16/jm1t3BW6Ff7Zo9M.png" alt="image-20220116141725432"></p>
</li>
<li><p>&#x6CA1;&#x6709;&#x4F7F;&#x7528; <code>int</code> &#x8F6C;&#x6362;&#x7528;&#x6237;&#x8F93;&#x5165;&#xFF0C;&#x53EF;&#x4EE5;&#x907F;&#x514D; <strong>&#x4E00;&#x65E6;&#x7528;&#x6237;&#x8F93;&#x5165;&#x7684;&#x4E0D;&#x662F;&#x6570;&#x5B57;</strong>&#xFF0C;&#x5BFC;&#x81F4;&#x7A0B;&#x5E8F;&#x8FD0;&#x884C;&#x51FA;&#x9519;</p>
</li>
</ol>
<h4 id="pass">pass</h4>
<ul>
<li><p>&#x662F;&#x4E3A;&#x4E86;&#x4FDD;&#x6301;&#x7A0B;&#x5E8F;&#x7ED3;&#x6784;&#x7684;&#x5B8C;&#x6574;&#x6027;</p>
</li>
<li><pre><code># &#x5982;&#x679C;&#x5728;&#x5F00;&#x53D1;&#x7A0B;&#x5E8F;&#x65F6;&#xFF0C;&#x4E0D;&#x5E0C;&#x671B;&#x7ACB;&#x523B;&#x7F16;&#x5199;&#x5206;&#x652F;&#x5185;&#x90E8;&#x7684;&#x4EE3;&#x7801;
# &#x53EF;&#x4EE5;&#x4F7F;&#x7528; pass &#x5173;&#x952E;&#x5B57;&#xFF0C;&#x8868;&#x793A;&#x4E00;&#x4E2A;&#x5360;&#x4F4D;&#x7B26;&#xFF0C;&#x80FD;&#x591F;&#x4FDD;&#x8BC1;&#x7A0B;&#x5E8F;&#x7684;&#x4EE3;&#x7801;&#x7ED3;&#x6784;&#x6B63;&#x786E;&#xFF01;
# &#x7A0B;&#x5E8F;&#x8FD0;&#x884C;&#x65F6;&#xFF0C;pass &#x5173;&#x952E;&#x5B57;&#x4E0D;&#x4F1A;&#x6267;&#x884C;&#x4EFB;&#x4F55;&#x7684;&#x64CD;&#x4F5C;&#xFF01;
</code></pre></li>
</ul>
<h4 id="&#x65E0;&#x9650;&#x5FAA;&#x73AF;">&#x65E0;&#x9650;&#x5FAA;&#x73AF;</h4>
<ul>
<li>&#x5728;&#x5F00;&#x53D1;&#x8F6F;&#x4EF6;&#x65F6;&#xFF0C;&#x5982;&#x679C; <strong>&#x4E0D;&#x5E0C;&#x671B;&#x7A0B;&#x5E8F;&#x6267;&#x884C;&#x540E;</strong> &#x7ACB;&#x5373;&#x9000;&#x51FA;</li>
<li>&#x53EF;&#x4EE5;&#x5728;&#x7A0B;&#x5E8F;&#x4E2D;&#x589E;&#x52A0;&#x4E00;&#x4E2A; <strong>&#x65E0;&#x9650;&#x5FAA;&#x73AF;</strong></li>
<li><strong>&#x7531;&#x7528;&#x6237;&#x6765;&#x51B3;&#x5B9A;</strong> &#x9000;&#x51FA;&#x7A0B;&#x5E8F;&#x7684;&#x65F6;&#x673A;</li>
</ul>
<h4 id="todo-&#x6CE8;&#x91CA;">TODO &#x6CE8;&#x91CA;</h4>
<ul>
<li>&#x5728; <code>#</code> &#x540E;&#x8DDF;&#x4E0A; <code>TODO</code>&#xFF0C;&#x7528;&#x4E8E;&#x6807;&#x8BB0;&#x9700;&#x8981;&#x53BB;&#x505A;&#x7684;&#x5DE5;&#x4F5C;</li>
</ul>
<pre><code class="lang-python"><span class="hljs-comment"># TODO(&#x4F5C;&#x8005;/&#x90AE;&#x4EF6;) &#x663E;&#x793A;&#x7CFB;&#x7EDF;&#x83DC;&#x5355;</span>
</code></pre>
<h3 id="13-&#x5728;-cardstools-&#x4E2D;&#x589E;&#x52A0;&#x56DB;&#x4E2A;&#x65B0;&#x51FD;&#x6570;">1.3 &#x5728; <code>cards_tools</code> &#x4E2D;&#x589E;&#x52A0;&#x56DB;&#x4E2A;&#x65B0;&#x51FD;&#x6570;</h3>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">show_menu</span><span class="hljs-params">()</span>:</span>

    <span class="hljs-string">&quot;&quot;&quot;&#x663E;&#x793A;&#x83DC;&#x5355;
    &quot;&quot;&quot;</span>
    <span class="hljs-keyword">pass</span>

<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">new_card</span><span class="hljs-params">()</span>:</span>

    <span class="hljs-string">&quot;&quot;&quot;&#x65B0;&#x5EFA;&#x540D;&#x7247;
    &quot;&quot;&quot;</span>
    print(<span class="hljs-string">&quot;-&quot;</span> * <span class="hljs-number">50</span>)
    print(<span class="hljs-string">&quot;&#x529F;&#x80FD;&#xFF1A;&#x65B0;&#x5EFA;&#x540D;&#x7247;&quot;</span>)


<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">show_all</span><span class="hljs-params">()</span>:</span>

    <span class="hljs-string">&quot;&quot;&quot;&#x663E;&#x793A;&#x5168;&#x90E8;
    &quot;&quot;&quot;</span>
    print(<span class="hljs-string">&quot;-&quot;</span> * <span class="hljs-number">50</span>)
    print(<span class="hljs-string">&quot;&#x529F;&#x80FD;&#xFF1A;&#x663E;&#x793A;&#x5168;&#x90E8;&quot;</span>)


<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">search_card</span><span class="hljs-params">()</span>:</span>

    <span class="hljs-string">&quot;&quot;&quot;&#x641C;&#x7D22;&#x540D;&#x7247;
    &quot;&quot;&quot;</span>
    print(<span class="hljs-string">&quot;-&quot;</span> * <span class="hljs-number">50</span>)
    print(<span class="hljs-string">&quot;&#x529F;&#x80FD;&#xFF1A;&#x641C;&#x7D22;&#x540D;&#x7247;&quot;</span>)
</code></pre>
<h3 id="14-&#x5BFC;&#x5165;&#x6A21;&#x5757;">1.4 &#x5BFC;&#x5165;&#x6A21;&#x5757;</h3>
<ul>
<li>&#x5728; <code>cards_main.py</code> &#x4E2D;&#x4F7F;&#x7528; <code>import</code> &#x5BFC;&#x5165; <code>cards_tools</code> &#x6A21;&#x5757;</li>
</ul>
<pre><code class="lang-python"><span class="hljs-keyword">import</span> cards_tools
</code></pre>
<ul>
<li>&#x4FEE;&#x6539; <code>while</code> &#x5FAA;&#x73AF;&#x7684;&#x4EE3;&#x7801;&#x5982;&#x4E0B;&#xFF1A;</li>
</ul>
<pre><code class="lang-python"><span class="hljs-keyword">import</span> cards_tools

<span class="hljs-keyword">while</span> <span class="hljs-keyword">True</span>:

    cards_tools.show_menu()

    action = input(<span class="hljs-string">&quot;&#x8BF7;&#x9009;&#x62E9;&#x64CD;&#x4F5C;&#x529F;&#x80FD;&#xFF1A;&quot;</span>)

    print(<span class="hljs-string">&quot;&#x60A8;&#x9009;&#x62E9;&#x7684;&#x64CD;&#x4F5C;&#x662F;&#xFF1A;%s&quot;</span> % action)

    <span class="hljs-comment"># &#x6839;&#x636E;&#x7528;&#x6237;&#x8F93;&#x5165;&#x51B3;&#x5B9A;&#x540E;&#x7EED;&#x7684;&#x64CD;&#x4F5C;</span>
    <span class="hljs-keyword">if</span> action <span class="hljs-keyword">in</span> [<span class="hljs-string">&quot;1&quot;</span>, <span class="hljs-string">&quot;2&quot;</span>, <span class="hljs-string">&quot;3&quot;</span>]:

        <span class="hljs-keyword">if</span> action == <span class="hljs-string">&quot;1&quot;</span>:
            cards_tools.new_card()

        <span class="hljs-keyword">elif</span> action == <span class="hljs-string">&quot;2&quot;</span>:
            cards_tools.show_all()

        <span class="hljs-keyword">elif</span> action == <span class="hljs-string">&quot;3&quot;</span>:
            cards_tools.search_card()

    <span class="hljs-keyword">elif</span> action == <span class="hljs-string">&quot;0&quot;</span>:
        print(<span class="hljs-string">&quot;&#x6B22;&#x8FCE;&#x518D;&#x6B21;&#x4F7F;&#x7528;&#x3010;&#x540D;&#x7247;&#x7BA1;&#x7406;&#x7CFB;&#x7EDF;&#x3011;&quot;</span>)

        <span class="hljs-keyword">break</span>
    <span class="hljs-keyword">else</span>:
        print(<span class="hljs-string">&quot;&#x8F93;&#x5165;&#x9519;&#x8BEF;&#xFF0C;&#x8BF7;&#x91CD;&#x65B0;&#x8F93;&#x5165;&#xFF1A;&quot;</span>)
</code></pre>
<blockquote>
<p>&#x81F3;&#x6B64;&#xFF1A;<code>cards_main</code> &#x4E2D;&#x7684;&#x6240;&#x6709;&#x4EE3;&#x7801;&#x5168;&#x90E8;&#x5F00;&#x53D1;&#x5B8C;&#x6BD5;&#xFF01;</p>
</blockquote>
<h3 id="15-&#x5B8C;&#x6210;-showmenu-&#x51FD;&#x6570;">1.5 &#x5B8C;&#x6210; <code>show_menu</code> &#x51FD;&#x6570;</h3>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">show_menu</span><span class="hljs-params">()</span>:</span>

    <span class="hljs-string">&quot;&quot;&quot;&#x663E;&#x793A;&#x83DC;&#x5355;
    &quot;&quot;&quot;</span>
    print(<span class="hljs-string">&quot;*&quot;</span> * <span class="hljs-number">50</span>)
    print(<span class="hljs-string">&quot;&#x6B22;&#x8FCE;&#x4F7F;&#x7528;&#x3010;&#x83DC;&#x5355;&#x7BA1;&#x7406;&#x7CFB;&#x7EDF;&#x3011;V1.0&quot;</span>)
    print(<span class="hljs-string">&quot;&quot;</span>)
    print(<span class="hljs-string">&quot;1. &#x65B0;&#x5EFA;&#x540D;&#x7247;&quot;</span>)
    print(<span class="hljs-string">&quot;2. &#x663E;&#x793A;&#x5168;&#x90E8;&quot;</span>)
    print(<span class="hljs-string">&quot;3. &#x67E5;&#x8BE2;&#x540D;&#x7247;&quot;</span>)
    print(<span class="hljs-string">&quot;&quot;</span>)
    print(<span class="hljs-string">&quot;0. &#x9000;&#x51FA;&#x7CFB;&#x7EDF;&quot;</span>)
    print(<span class="hljs-string">&quot;*&quot;</span> * <span class="hljs-number">50</span>)
</code></pre>
<h2 id="02-&#x4FDD;&#x5B58;&#x540D;&#x7247;&#x6570;&#x636E;&#x7684;&#x7ED3;&#x6784;">02. &#x4FDD;&#x5B58;&#x540D;&#x7247;&#x6570;&#x636E;&#x7684;&#x7ED3;&#x6784;</h2>
<p><strong>&#x7A0B;&#x5E8F;&#x5C31;&#x662F;&#x7528;&#x6765;&#x5904;&#x7406;&#x6570;&#x636E;&#x7684;&#xFF0C;&#x800C;&#x53D8;&#x91CF;&#x5C31;&#x662F;&#x7528;&#x6765;&#x5B58;&#x50A8;&#x6570;&#x636E;&#x7684;</strong></p>
<ul>
<li>&#x4F7F;&#x7528; <strong>&#x5B57;&#x5178;</strong> &#x8BB0;&#x5F55; <strong>&#x6BCF;&#x4E00;&#x5F20;&#x540D;&#x7247;</strong> &#x7684;&#x8BE6;&#x7EC6;&#x4FE1;&#x606F;</li>
<li>&#x4F7F;&#x7528; <strong>&#x5217;&#x8868;</strong> &#x7EDF;&#x4E00;&#x8BB0;&#x5F55;&#x6240;&#x6709;&#x7684; <strong>&#x540D;&#x7247;&#x5B57;&#x5178;</strong></li>
</ul>
<p><img src="https://s2.loli.net/2022/01/11/rjRLh6AVOHifevk.png" alt="001_&#x540D;&#x7247;&#x7BA1;&#x7406;&#x7CFB;&#x7EDF;&#x5168;&#x5C40;&#x5217;&#x8868;-w500"></p>
<h3 id="&#x5B9A;&#x4E49;&#x540D;&#x7247;&#x5217;&#x8868;&#x53D8;&#x91CF;">&#x5B9A;&#x4E49;&#x540D;&#x7247;&#x5217;&#x8868;&#x53D8;&#x91CF;</h3>
<ul>
<li>&#x5728; <code>cards_tools</code> &#x6587;&#x4EF6;&#x7684;&#x9876;&#x90E8;&#x589E;&#x52A0;&#x4E00;&#x4E2A; <strong>&#x5217;&#x8868;&#x53D8;&#x91CF;</strong></li>
</ul>
<pre><code class="lang-python"><span class="hljs-comment"># &#x6240;&#x6709;&#x540D;&#x7247;&#x8BB0;&#x5F55;&#x7684;&#x5217;&#x8868;</span>
card_list = []
</code></pre>
<p><strong>&#x6CE8;&#x610F;</strong></p>
<ol>
<li><strong>&#x6240;&#x6709;&#x540D;&#x7247;&#x76F8;&#x5173;&#x64CD;&#x4F5C;</strong>&#xFF0C;&#x90FD;&#x9700;&#x8981;&#x4F7F;&#x7528;&#x8FD9;&#x4E2A;&#x5217;&#x8868;&#xFF0C;&#x6240;&#x4EE5;&#x5E94;&#x8BE5; <strong>&#x5B9A;&#x4E49;&#x5728;&#x7A0B;&#x5E8F;&#x7684;&#x9876;&#x90E8;</strong></li>
<li><strong>&#x7A0B;&#x5E8F;&#x521A;&#x8FD0;&#x884C;&#x65F6;&#xFF0C;&#x6CA1;&#x6709;&#x6570;&#x636E;</strong>&#xFF0C;&#x6240;&#x4EE5;&#x662F; <strong>&#x7A7A;&#x5217;&#x8868;</strong></li>
</ol>
<h2 id="03-&#x65B0;&#x589E;&#x540D;&#x7247;">03. &#x65B0;&#x589E;&#x540D;&#x7247;</h2>
<h3 id="31-&#x529F;&#x80FD;&#x5206;&#x6790;">3.1 &#x529F;&#x80FD;&#x5206;&#x6790;</h3>
<ol>
<li>&#x63D0;&#x793A;&#x7528;&#x6237;&#x4F9D;&#x6B21;&#x8F93;&#x5165;&#x540D;&#x7247;&#x4FE1;&#x606F;</li>
<li>&#x5C06;&#x540D;&#x7247;&#x4FE1;&#x606F;&#x4FDD;&#x5B58;&#x5230;&#x4E00;&#x4E2A;&#x5B57;&#x5178;</li>
<li>&#x5C06;&#x5B57;&#x5178;&#x6DFB;&#x52A0;&#x5230;&#x540D;&#x7247;&#x5217;&#x8868;</li>
<li>&#x63D0;&#x793A;&#x540D;&#x7247;&#x6DFB;&#x52A0;&#x5B8C;&#x6210;</li>
</ol>
<h3 id="32-&#x5B9E;&#x73B0;-newcard-&#x65B9;&#x6CD5;">3.2 &#x5B9E;&#x73B0; new_card &#x65B9;&#x6CD5;</h3>
<ul>
<li>&#x6839;&#x636E;&#x6B65;&#x9AA4;&#x5B9E;&#x73B0;&#x4EE3;&#x7801;</li>
</ul>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">new_card</span><span class="hljs-params">()</span>:</span>

    <span class="hljs-string">&quot;&quot;&quot;&#x65B0;&#x5EFA;&#x540D;&#x7247;
    &quot;&quot;&quot;</span>
    print(<span class="hljs-string">&quot;-&quot;</span> * <span class="hljs-number">50</span>)
    print(<span class="hljs-string">&quot;&#x529F;&#x80FD;&#xFF1A;&#x65B0;&#x5EFA;&#x540D;&#x7247;&quot;</span>)

    <span class="hljs-comment"># 1. &#x63D0;&#x793A;&#x7528;&#x6237;&#x8F93;&#x5165;&#x540D;&#x7247;&#x4FE1;&#x606F;</span>
    name = input(<span class="hljs-string">&quot;&#x8BF7;&#x8F93;&#x5165;&#x59D3;&#x540D;&#xFF1A;&quot;</span>)
    phone = input(<span class="hljs-string">&quot;&#x8BF7;&#x8F93;&#x5165;&#x7535;&#x8BDD;&#xFF1A;&quot;</span>)
    qq = input(<span class="hljs-string">&quot;&#x8BF7;&#x8F93;&#x5165; QQ &#x53F7;&#x7801;&#xFF1A;&quot;</span>)
    email = input(<span class="hljs-string">&quot;&#x8BF7;&#x8F93;&#x5165;&#x90AE;&#x7BB1;&#xFF1A;&quot;</span>)

    <span class="hljs-comment"># 2. &#x5C06;&#x7528;&#x6237;&#x4FE1;&#x606F;&#x4FDD;&#x5B58;&#x5230;&#x4E00;&#x4E2A;&#x5B57;&#x5178;</span>
    card_dict = {<span class="hljs-string">&quot;name&quot;</span>: name,
                 <span class="hljs-string">&quot;phone&quot;</span>: phone,
                 <span class="hljs-string">&quot;qq&quot;</span>: qq,
                 <span class="hljs-string">&quot;email&quot;</span>: email}

    <span class="hljs-comment"># 3. &#x5C06;&#x7528;&#x6237;&#x5B57;&#x5178;&#x6DFB;&#x52A0;&#x5230;&#x540D;&#x7247;&#x5217;&#x8868;</span>
    card_list.append(card_dict)

    print(card_list)

    <span class="hljs-comment"># 4. &#x63D0;&#x793A;&#x6DFB;&#x52A0;&#x6210;&#x529F;&#x4FE1;&#x606F;</span>
    print(<span class="hljs-string">&quot;&#x6210;&#x529F;&#x6DFB;&#x52A0; %s &#x7684;&#x540D;&#x7247;&quot;</span> % card_dict[<span class="hljs-string">&quot;name&quot;</span>])
</code></pre>
<blockquote>
<h1 id="&#x6280;&#x5DE7;&#xFF1A;&#x5728;-pycharm-&#x4E2D;&#xFF0C;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;-shift--f6-&#x7EDF;&#x4E00;&#x4FEE;&#x6539;&#x53D8;&#x91CF;&#x540D;">&#x6280;&#x5DE7;&#xFF1A;&#x5728; <code>PyCharm</code> &#x4E2D;&#xFF0C;&#x53EF;&#x4EE5;&#x4F7F;&#x7528; <code>SHIFT + F6</code> &#x7EDF;&#x4E00;&#x4FEE;&#x6539;&#x53D8;&#x91CF;&#x540D;<img src="https://s2.loli.net/2022/01/17/rIlCog3X2U5ueFn.png" alt="image-20220117153300537"></h1>
</blockquote>
<h2 id="04-&#x663E;&#x793A;&#x6240;&#x6709;&#x540D;&#x7247;">04. &#x663E;&#x793A;&#x6240;&#x6709;&#x540D;&#x7247;</h2>
<h3 id="41-&#x529F;&#x80FD;&#x5206;&#x6790;">4.1 &#x529F;&#x80FD;&#x5206;&#x6790;</h3>
<ul>
<li>&#x5FAA;&#x73AF;&#x904D;&#x5386;&#x540D;&#x7247;&#x5217;&#x8868;&#xFF0C;&#x987A;&#x5E8F;&#x663E;&#x793A;&#x6BCF;&#x4E00;&#x4E2A;&#x5B57;&#x5178;&#x7684;&#x4FE1;&#x606F;</li>
</ul>
<h3 id="42-&#x57FA;&#x7840;&#x4EE3;&#x7801;&#x5B9E;&#x73B0;">4.2 &#x57FA;&#x7840;&#x4EE3;&#x7801;&#x5B9E;&#x73B0;</h3>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">show_all</span><span class="hljs-params">()</span>:</span>

    <span class="hljs-string">&quot;&quot;&quot;&#x663E;&#x793A;&#x5168;&#x90E8;
    &quot;&quot;&quot;</span>
    print(<span class="hljs-string">&quot;-&quot;</span> * <span class="hljs-number">50</span>)
    print(<span class="hljs-string">&quot;&#x529F;&#x80FD;&#xFF1A;&#x663E;&#x793A;&#x5168;&#x90E8;&quot;</span>)

    <span class="hljs-keyword">for</span> card_dict <span class="hljs-keyword">in</span> card_list:

        print(card_dict)
</code></pre>
<ul>
<li>&#x663E;&#x793A;&#x6548;&#x679C;&#x4E0D;&#x597D;&#xFF01;</li>
</ul>
<h3 id="43-&#x589E;&#x52A0;&#x6807;&#x9898;&#x548C;&#x4F7F;&#x7528;-t-&#x663E;&#x793A;">4.3 &#x589E;&#x52A0;&#x6807;&#x9898;&#x548C;&#x4F7F;&#x7528; <code>\t</code> &#x663E;&#x793A;</h3>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">show_all</span><span class="hljs-params">()</span>:</span>
    <span class="hljs-string">&quot;&quot;&quot;&#x663E;&#x793A;&#x5168;&#x90E8;
    &quot;&quot;&quot;</span>
    print(<span class="hljs-string">&quot;-&quot;</span> * <span class="hljs-number">50</span>)
    print(<span class="hljs-string">&quot;&#x529F;&#x80FD;&#xFF1A;&#x663E;&#x793A;&#x5168;&#x90E8;&quot;</span>)

    <span class="hljs-comment"># &#x6253;&#x5370;&#x8868;&#x5934;</span>
    <span class="hljs-keyword">for</span> name <span class="hljs-keyword">in</span> [<span class="hljs-string">&quot;&#x59D3;&#x540D;&quot;</span>, <span class="hljs-string">&quot;&#x7535;&#x8BDD;&quot;</span>, <span class="hljs-string">&quot;QQ&quot;</span>, <span class="hljs-string">&quot;&#x90AE;&#x7BB1;&quot;</span>]:
        print(name, end=<span class="hljs-string">&quot;\t\t&quot;</span>)

    print(<span class="hljs-string">&quot;&quot;</span>)

    <span class="hljs-comment"># &#x6253;&#x5370;&#x5206;&#x9694;&#x7EBF;</span>
    print(<span class="hljs-string">&quot;=&quot;</span> * <span class="hljs-number">50</span>)

    <span class="hljs-keyword">for</span> card_dict <span class="hljs-keyword">in</span> card_list:

        print(<span class="hljs-string">&quot;%s\t\t%s\t\t%s\t\t%s&quot;</span> % (card_dict[<span class="hljs-string">&quot;name&quot;</span>],
                                        card_dict[<span class="hljs-string">&quot;phone&quot;</span>],
                                        card_dict[<span class="hljs-string">&quot;qq&quot;</span>],
                                        card_dict[<span class="hljs-string">&quot;email&quot;</span>]))
</code></pre>
<h3 id="44-&#x589E;&#x52A0;&#x6CA1;&#x6709;&#x540D;&#x7247;&#x8BB0;&#x5F55;&#x5224;&#x65AD;">4.4 &#x589E;&#x52A0;&#x6CA1;&#x6709;&#x540D;&#x7247;&#x8BB0;&#x5F55;&#x5224;&#x65AD;</h3>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">show_all</span><span class="hljs-params">()</span>:</span>
    <span class="hljs-string">&quot;&quot;&quot;&#x663E;&#x793A;&#x5168;&#x90E8;
    &quot;&quot;&quot;</span>
    print(<span class="hljs-string">&quot;-&quot;</span> * <span class="hljs-number">50</span>)
    print(<span class="hljs-string">&quot;&#x529F;&#x80FD;&#xFF1A;&#x663E;&#x793A;&#x5168;&#x90E8;&quot;</span>)

    <span class="hljs-comment"># 1. &#x5224;&#x65AD;&#x662F;&#x5426;&#x6709;&#x540D;&#x7247;&#x8BB0;&#x5F55;</span>
    <span class="hljs-keyword">if</span> len(card_list) == <span class="hljs-number">0</span>:
        print(<span class="hljs-string">&quot;&#x63D0;&#x793A;&#xFF1A;&#x6CA1;&#x6709;&#x4EFB;&#x4F55;&#x540D;&#x7247;&#x8BB0;&#x5F55;&quot;</span>)

        <span class="hljs-keyword">return</span>
</code></pre>
<p><strong>&#x6CE8;&#x610F;</strong></p>
<ul>
<li><p>&#x5728;&#x51FD;&#x6570;&#x4E2D;&#x4F7F;&#x7528; <code>return</code> &#x8868;&#x793A;&#x8FD4;&#x56DE;</p>
</li>
<li><p>&#x5982;&#x679C;&#x5728; <code>return</code> &#x540E;&#x6CA1;&#x6709;&#x8DDF;&#x4EFB;&#x4F55;&#x5185;&#x5BB9;&#xFF0C;&#x53EA;&#x662F;&#x8868;&#x793A;&#x8BE5;&#x51FD;&#x6570;&#x6267;&#x884C;&#x5230;&#x6B64;&#x5C31;&#x4E0D;&#x518D;&#x6267;&#x884C;&#x540E;&#x7EED;&#x7684;&#x4EE3;&#x7801;</p>
</li>
<li><pre><code># &#x5982;&#x679C; return &#x540E;&#x9762; &#x6CA1;&#x6709;&#x4EFB;&#x4F55;&#x7684;&#x5185;&#x5BB9;&#xFF0C;&#x8868;&#x793A;&#x4F1A;&#x8FD4;&#x56DE;&#x5230;&#x8C03;&#x7528;&#x51FD;&#x6570;&#x7684;&#x4F4D;&#x7F6E;&#x5E76;&#x4E0D;&#x4F1A;&#x8FD4;&#x56DE;&#x4EFB;&#x4F55;&#x7684;&#x7ED3;&#x679C;
# return &#x8FD4;&#x56DE;&#x5230;&#x8C03;&#x7528;&#x51FD;&#x6570;&#x7684;&#x4EE3;&#x7801;&#xFF0C;&#x53BB;&#x6267;&#x884C;&#x8C03;&#x7528;&#x51FD;&#x6570;&#x4E0B;&#x65B9;&#x7684;&#x4EE3;&#x7801;
</code></pre></li>
</ul>
<h2 id="05-&#x67E5;&#x8BE2;&#x540D;&#x7247;">05. &#x67E5;&#x8BE2;&#x540D;&#x7247;</h2>
<h3 id="51-&#x529F;&#x80FD;&#x5206;&#x6790;">5.1 &#x529F;&#x80FD;&#x5206;&#x6790;</h3>
<ol>
<li>&#x63D0;&#x793A;&#x7528;&#x6237;&#x8981;&#x641C;&#x7D22;&#x7684;&#x59D3;&#x540D;</li>
<li>&#x6839;&#x636E;&#x7528;&#x6237;&#x8F93;&#x5165;&#x7684;&#x59D3;&#x540D;&#x904D;&#x5386;&#x5217;&#x8868;</li>
<li>&#x641C;&#x7D22;&#x5230;&#x6307;&#x5B9A;&#x7684;&#x540D;&#x7247;&#x540E;&#xFF0C;&#x518D;&#x6267;&#x884C;&#x540E;&#x7EED;&#x7684;&#x64CD;&#x4F5C;</li>
</ol>
<h3 id="52-&#x4EE3;&#x7801;&#x5B9E;&#x73B0;">5.2 &#x4EE3;&#x7801;&#x5B9E;&#x73B0;</h3>
<ul>
<li>&#x67E5;&#x8BE2;&#x529F;&#x80FD;&#x5B9E;&#x73B0;</li>
</ul>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">search_card</span><span class="hljs-params">()</span>:</span>

    <span class="hljs-string">&quot;&quot;&quot;&#x641C;&#x7D22;&#x540D;&#x7247;
    &quot;&quot;&quot;</span>
    print(<span class="hljs-string">&quot;-&quot;</span> * <span class="hljs-number">50</span>)
    print(<span class="hljs-string">&quot;&#x529F;&#x80FD;&#xFF1A;&#x641C;&#x7D22;&#x540D;&#x7247;&quot;</span>)

    <span class="hljs-comment"># 1. &#x63D0;&#x793A;&#x8981;&#x641C;&#x7D22;&#x7684;&#x59D3;&#x540D;</span>
    find_name = input(<span class="hljs-string">&quot;&#x8BF7;&#x8F93;&#x5165;&#x8981;&#x641C;&#x7D22;&#x7684;&#x59D3;&#x540D;&#xFF1A;&quot;</span>)

    <span class="hljs-comment"># 2. &#x904D;&#x5386;&#x5B57;&#x5178;</span>
    <span class="hljs-keyword">for</span> card_dict <span class="hljs-keyword">in</span> card_list:

        <span class="hljs-keyword">if</span> card_dict[<span class="hljs-string">&quot;name&quot;</span>] == find_name:

            print(<span class="hljs-string">&quot;&#x59D3;&#x540D;\t\t\t&#x7535;&#x8BDD;\t\t\tQQ\t\t\t&#x90AE;&#x7BB1;&quot;</span>)
            print(<span class="hljs-string">&quot;-&quot;</span> * <span class="hljs-number">40</span>)

            print(<span class="hljs-string">&quot;%s\t\t\t%s\t\t\t%s\t\t\t%s&quot;</span> % (
                card_dict[<span class="hljs-string">&quot;name&quot;</span>],
                card_dict[<span class="hljs-string">&quot;phone&quot;</span>],
                card_dict[<span class="hljs-string">&quot;qq&quot;</span>],
                card_dict[<span class="hljs-string">&quot;email&quot;</span>]))

            print(<span class="hljs-string">&quot;-&quot;</span> * <span class="hljs-number">40</span>)

            <span class="hljs-comment"># TODO(&#x5C0F;&#x660E;) &#x9488;&#x5BF9;&#x627E;&#x5230;&#x7684;&#x5B57;&#x5178;&#x8FDB;&#x884C;&#x540E;&#x7EED;&#x64CD;&#x4F5C;&#xFF1A;&#x4FEE;&#x6539;/&#x5220;&#x9664;</span>

            <span class="hljs-keyword">break</span>
    <span class="hljs-keyword">else</span>:
        print(<span class="hljs-string">&quot;&#x6CA1;&#x6709;&#x627E;&#x5230; %s&quot;</span> % find_name)
</code></pre>
<ul>
<li>&#x589E;&#x52A0;&#x540D;&#x7247;&#x64CD;&#x4F5C;&#x51FD;&#x6570;&#xFF1A;<strong>&#x4FEE;&#x6539;</strong>/<strong>&#x5220;&#x9664;</strong>/<strong>&#x8FD4;&#x56DE;&#x4E3B;&#x83DC;&#x5355;</strong></li>
</ul>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">deal_card</span><span class="hljs-params">(find_dict)</span>:</span>

    <span class="hljs-string">&quot;&quot;&quot;&#x64CD;&#x4F5C;&#x641C;&#x7D22;&#x5230;&#x7684;&#x540D;&#x7247;&#x5B57;&#x5178;

    :param find_dict:&#x627E;&#x5230;&#x7684;&#x540D;&#x7247;&#x5B57;&#x5178;
    &quot;&quot;&quot;</span>
    print(find_dict)

    action_str = input(<span class="hljs-string">&quot;&#x8BF7;&#x9009;&#x62E9;&#x8981;&#x6267;&#x884C;&#x7684;&#x64CD;&#x4F5C; &quot;</span>
                       <span class="hljs-string">&quot;[1] &#x4FEE;&#x6539; [2] &#x5220;&#x9664; [0] &#x8FD4;&#x56DE;&#x4E0A;&#x7EA7;&#x83DC;&#x5355;&quot;</span>)

    <span class="hljs-keyword">if</span> action == <span class="hljs-string">&quot;1&quot;</span>:
        print(<span class="hljs-string">&quot;&#x4FEE;&#x6539;&quot;</span>)
    <span class="hljs-keyword">elif</span> action == <span class="hljs-string">&quot;2&quot;</span>:
        print(<span class="hljs-string">&quot;&#x5220;&#x9664;&quot;</span>)
</code></pre>
<h2 id="06-&#x4FEE;&#x6539;&#x548C;&#x5220;&#x9664;">06. &#x4FEE;&#x6539;&#x548C;&#x5220;&#x9664;</h2>
<h3 id="61-&#x67E5;&#x8BE2;&#x6210;&#x529F;&#x540E;&#x5220;&#x9664;&#x540D;&#x7247;">6.1 &#x67E5;&#x8BE2;&#x6210;&#x529F;&#x540E;&#x5220;&#x9664;&#x540D;&#x7247;</h3>
<ul>
<li>&#x7531;&#x4E8E;&#x627E;&#x5230;&#x7684;&#x5B57;&#x5178;&#x8BB0;&#x5F55;&#x5DF2;&#x7ECF;&#x5728;&#x5217;&#x8868;&#x4E2D;&#x4FDD;&#x5B58;</li>
<li>&#x8981;&#x5220;&#x9664;&#x540D;&#x7247;&#x8BB0;&#x5F55;&#xFF0C;&#x53EA;&#x9700;&#x8981;&#x628A;&#x5217;&#x8868;&#x4E2D;&#x5BF9;&#x5E94;&#x7684;&#x5B57;&#x5178;&#x5220;&#x9664;&#x5373;&#x53EF;</li>
</ul>
<pre><code class="lang-python">    <span class="hljs-keyword">elif</span> action == <span class="hljs-string">&quot;2&quot;</span>:
        card_list.remove(find_dict)

        print(<span class="hljs-string">&quot;&#x5220;&#x9664;&#x6210;&#x529F;&quot;</span>)
</code></pre>
<h3 id="62-&#x4FEE;&#x6539;&#x540D;&#x7247;">6.2 &#x4FEE;&#x6539;&#x540D;&#x7247;</h3>
<ul>
<li>&#x7531;&#x4E8E;&#x627E;&#x5230;&#x7684;&#x5B57;&#x5178;&#x8BB0;&#x5F55;&#x5DF2;&#x7ECF;&#x5728;&#x5217;&#x8868;&#x4E2D;&#x4FDD;&#x5B58;</li>
<li>&#x8981;&#x4FEE;&#x6539;&#x540D;&#x7247;&#x8BB0;&#x5F55;&#xFF0C;&#x53EA;&#x9700;&#x8981;&#x628A;&#x5217;&#x8868;&#x4E2D;&#x5BF9;&#x5E94;&#x7684;&#x5B57;&#x5178;&#x4E2D;&#x6BCF;&#x4E00;&#x4E2A;&#x952E;&#x503C;&#x5BF9;&#x7684;&#x6570;&#x636E;&#x4FEE;&#x6539;&#x5373;&#x53EF;</li>
</ul>
<pre><code class="lang-python">    <span class="hljs-keyword">if</span> action == <span class="hljs-string">&quot;1&quot;</span>:

        find_dict[<span class="hljs-string">&quot;name&quot;</span>] = input(<span class="hljs-string">&quot;&#x8BF7;&#x8F93;&#x5165;&#x59D3;&#x540D;&#xFF1A;&quot;</span>)
        find_dict[<span class="hljs-string">&quot;phone&quot;</span>] = input(<span class="hljs-string">&quot;&#x8BF7;&#x8F93;&#x5165;&#x7535;&#x8BDD;&#xFF1A;&quot;</span>)
        find_dict[<span class="hljs-string">&quot;qq&quot;</span>] = input(<span class="hljs-string">&quot;&#x8BF7;&#x8F93;&#x5165;QQ&#xFF1A;&quot;</span>)
        find_dict[<span class="hljs-string">&quot;email&quot;</span>] = input(<span class="hljs-string">&quot;&#x8BF7;&#x8F93;&#x5165;&#x90AE;&#x4EF6;&#xFF1A;&quot;</span>)

        print(<span class="hljs-string">&quot;%s &#x7684;&#x540D;&#x7247;&#x4FEE;&#x6539;&#x6210;&#x529F;&quot;</span> % find_dict[<span class="hljs-string">&quot;name&quot;</span>])
</code></pre>
<h4 id="&#x4FEE;&#x6539;&#x540D;&#x7247;&#x7EC6;&#x5316;">&#x4FEE;&#x6539;&#x540D;&#x7247;&#x7EC6;&#x5316;</h4>
<ul>
<li><strong>&#x5982;&#x679C;&#x7528;&#x6237;&#x5728;&#x4F7F;&#x7528;&#x65F6;&#xFF0C;&#x67D0;&#x4E9B;&#x540D;&#x7247;&#x5185;&#x5BB9;&#x5E76;&#x4E0D;&#x60F3;&#x4FEE;&#x6539;</strong>&#xFF0C;&#x5E94;&#x8BE5;&#x5982;&#x4F55;&#x505A;&#x5462;&#xFF1F;&#x2014;&#x2014; &#x65E2;&#x7136;&#x7CFB;&#x7EDF;&#x63D0;&#x4F9B;&#x7684; <code>input</code> &#x51FD;&#x6570;&#x4E0D;&#x80FD;&#x6EE1;&#x8DB3;&#x9700;&#x6C42;&#xFF0C;&#x90A3;&#x4E48;&#x5C31;&#x65B0;&#x5B9A;&#x4E49;&#x4E00;&#x4E2A;&#x51FD;&#x6570; <code>input_card_info</code> &#x5BF9;&#x7CFB;&#x7EDF;&#x7684; <code>input</code> &#x51FD;&#x6570;&#x8FDB;&#x884C;&#x6269;&#x5C55;</li>
</ul>
<pre><code class="lang-python"><span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">input_card_info</span><span class="hljs-params">(dict_value, tip_message)</span>:</span>

    <span class="hljs-string">&quot;&quot;&quot;&#x8F93;&#x5165;&#x540D;&#x7247;&#x4FE1;&#x606F;

    :param dict_value: &#x5B57;&#x5178;&#x539F;&#x6709;&#x503C;
    :param tip_message: &#x8F93;&#x5165;&#x63D0;&#x793A;&#x4FE1;&#x606F;
    :return: &#x5982;&#x679C;&#x8F93;&#x5165;&#xFF0C;&#x8FD4;&#x56DE;&#x8F93;&#x5165;&#x5185;&#x5BB9;&#xFF0C;&#x5426;&#x5219;&#x8FD4;&#x56DE;&#x5B57;&#x5178;&#x539F;&#x6709;&#x503C;
    &quot;&quot;&quot;</span>
    <span class="hljs-comment"># 1. &#x63D0;&#x793A;&#x7528;&#x6237;&#x8F93;&#x5165;&#x5185;&#x5BB9;</span>
    result_str = input(tip_message)

    <span class="hljs-comment"># 2. &#x9488;&#x5BF9;&#x7528;&#x6237;&#x7684;&#x8F93;&#x5165;&#x8FDB;&#x884C;&#x5224;&#x65AD;&#xFF0C;&#x5982;&#x679C;&#x7528;&#x6237;&#x8F93;&#x5165;&#x4E86;&#x5185;&#x5BB9;&#xFF0C;&#x76F4;&#x63A5;&#x8FD4;&#x56DE;&#x7ED3;&#x679C;</span>
    <span class="hljs-keyword">if</span> len(result_str) &gt; <span class="hljs-number">0</span>:

        <span class="hljs-keyword">return</span> result_str
    <span class="hljs-comment"># 3. &#x5982;&#x679C;&#x7528;&#x6237;&#x6CA1;&#x6709;&#x8F93;&#x5165;&#x5185;&#x5BB9;&#xFF0C;&#x8FD4;&#x56DE; `&#x5B57;&#x5178;&#x4E2D;&#x539F;&#x6709;&#x7684;&#x503C;`</span>
    <span class="hljs-keyword">else</span>:

        <span class="hljs-keyword">return</span> dict_value
</code></pre>
<h2 id="07-linux-&#x4E0A;&#x7684;-shebang-&#x7B26;&#x53F7;">07. LINUX &#x4E0A;&#x7684; <code>Shebang</code> &#x7B26;&#x53F7;(<code>#!</code>)</h2>
<ul>
<li><code>#!</code>&#x8FD9;&#x4E2A;&#x7B26;&#x53F7;&#x53EB;&#x505A; <code>Shebang</code> &#x6216;&#x8005; <code>Sha-bang</code></li>
<li><code>Shebang</code> &#x901A;&#x5E38;&#x5728; <code>Unix</code> &#x7CFB;&#x7EDF;&#x811A;&#x672C;&#x7684;&#x4E2D; <strong>&#x7B2C;&#x4E00;&#x884C;&#x5F00;&#x5934;</strong> &#x4F7F;&#x7528;</li>
<li>&#x6307;&#x660E; <strong>&#x6267;&#x884C;&#x8FD9;&#x4E2A;&#x811A;&#x672C;&#x6587;&#x4EF6;</strong> &#x7684; <strong>&#x89E3;&#x91CA;&#x7A0B;&#x5E8F;</strong></li>
</ul>
<h3 id="&#x4F7F;&#x7528;-shebang-&#x7684;&#x6B65;&#x9AA4;">&#x4F7F;&#x7528; Shebang &#x7684;&#x6B65;&#x9AA4;</h3>
<ul>
<li><ol>
<li>&#x4F7F;&#x7528; <code>which</code> &#x67E5;&#x8BE2; <code>python3</code> &#x89E3;&#x91CA;&#x5668;&#x6240;&#x5728;&#x8DEF;&#x5F84;</li>
</ol>
</li>
</ul>
<pre><code class="lang-bash">$ <span class="hljs-built_in">which</span> python3
</code></pre>
<ul>
<li><ol>
<li>&#x4FEE;&#x6539;&#x8981;&#x8FD0;&#x884C;&#x7684; <strong>&#x4E3B; python &#x6587;&#x4EF6;</strong>&#xFF0C;&#x5728;&#x7B2C;&#x4E00;&#x884C;&#x589E;&#x52A0;&#x4EE5;&#x4E0B;&#x5185;&#x5BB9;</li>
</ol>
</li>
</ul>
<pre><code class="lang-python"><span class="hljs-comment">#! /usr/bin/python3</span>
</code></pre>
<ul>
<li><ol>
<li>&#x4FEE;&#x6539; <strong>&#x4E3B; python &#x6587;&#x4EF6;</strong> &#x7684;&#x6587;&#x4EF6;&#x6743;&#x9650;&#xFF0C;&#x589E;&#x52A0;&#x6267;&#x884C;&#x6743;&#x9650;</li>
</ol>
</li>
</ul>
<pre><code class="lang-bash">$ chmod +x cards_main.py
</code></pre>
<ul>
<li><ol>
<li>&#x5728;&#x9700;&#x8981;&#x65F6;&#x6267;&#x884C;&#x7A0B;&#x5E8F;&#x5373;&#x53EF;</li>
</ol>
</li>
</ul>
<pre><code class="lang-bash">./cards_main.py
</code></pre>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="13.高级变量类型.html" class="navigation navigation-prev " aria-label="Previous page: 13.函数基础">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="15.变量进阶（理解）.html" class="navigation navigation-next " aria-label="Next page: 15.变量进阶（理解）">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"14.综合应用 —— 名片管理系统","date":"2022-01-19 1:39","tags":"python学习","category":"python学习","level":"7.15","depth":1,"next":{"title":"15.变量进阶（理解）","level":"7.16","depth":1,"path":"python面对过程学习/15.变量进阶（理解）.md","ref":"./python面对过程学习/15.变量进阶（理解）.md","articles":[]},"previous":{"title":"13.函数基础","level":"7.14","depth":1,"path":"python面对过程学习/13.高级变量类型.md","ref":"./python面对过程学习/13.高级变量类型.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["livereload"],"pluginsConfig":{"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"python面对过程学习/14.综合应用 —— 名片管理系统.md","mtime":"2022-01-18T17:39:29.519Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2022-03-24T13:44:59.630Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

